package com.prs.crm.domain.oa;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * OA新闻和公告收藏
 * @author zhoupeng 2012-3-21
 *
 */
@Entity
@Table(name="oa_affiche_collect")
public class AfficheCollect  extends BaseEntity{
private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	@OneToOne
	private Affiche affiche;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Affiche getAffiche() {
		return affiche;
	}
	public void setAffiche(Affiche affiche) {
		this.affiche = affiche;
	}
	
}
